namespace ColorSelectorMVC.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    /// <summary>
    /// Initial Migration from default user db table created by VS
    /// </summary>
    public partial class initial : DbMigration
    {
        /// <summary>
        /// Upgrade which adds the selected color column
        /// </summary>
        public override void Up()
        {
            AddColumn("dbo.UserProfile", "SelectedColor", c => c.String());
        }
        
        /// <summary>
        /// Downgrade which removes the selected color column
        /// </summary>
        public override void Down()
        {
            DropColumn("dbo.UserProfile", "SelectedColor");
        }
    }
}
